$header-title-color : rgb(51,51,51);

.category{
  margin-top: 20px;
  width: 100%;

  .header{
    width: 100%;
    height: 22px;

    .title{
      display: inline-block;
      font-size: 22px;
      float: left;
      clear: both;
      color : $header-title-color;
    }

    .view-all{
      display: inline-block;
      float: right;
      font-size: 1.125em;
      line-height: 22px;

      a{
        @include unstyled-link();
      }
      i{
        margin-left: 4px;
        color : #d3d3d3;
      }
    }
  }

  .body {
    margin-top: 10px;
    overflow: hidden;
    padding-bottom: 30px;;
    ul{
      height: 340px;
    }
    li{
      margin: 0;
      padding: 0;
      width: 232px;
      float: left;
      margin: 10px;
      @include transition-duration(.5s);
    }

    li:hover{
      @include box-shadow(0px 15px 60px rgba(0,0,0,.1));
      @include translate3d(0,-2px,0);
      @include transition-duration(.5s);
    }

    li:nth-child(5n+1){
      margin-left: 0;
    }

    li:nth-child(5n+5){
      margin-right: 0;
    }

    a{
      display: block;
      position: relative;
      margin: auto;
      width: 230px;
      height: 340px;
      text-align: center;
      background: #fafafa;
      overflow: hidden;;
      @include unstyled-link();
      img{
        margin-top: 90px;
      }
      .title{
        margin: 8px 0;
        color: #333333;
      }
      .desc{
        font-size: .75em;
        color : #a3a3a3;
      }
      .price{
        margin-top: 16px;
        color: $primary-color;
        font-size: .875em;
      }
      
      .comment{
        position: absolute;
        height: 80px;
        width: 100%;
        bottom: -120px;
        opacity: .01;
        background: $primary-color;
        @include transition-duration(.45s);
        font-size: 12px;
        text-align: center;
        .detail{
          color: #ffffff;
          text-align: left;
          overflow: hidden;
          height: 32px;
          padding: 10px;
          overflow: hidden;
          display:block;
        }
        .author{
          color : #f0f0f0;
          margin-top: 10px;
          span{
            color : #ffffff;
          }
        }
      }
      
    }
    a:hover{
      .comment{
        @include transition-duration(.45s);
        bottom: 0;
        opacity: 1;
      }
    }
  }



}